package com.su.edu.application.converter;

import com.su.edu.domain.model.UserDo;
import com.su.edu.application.model.UserDto;
import org.mapstruct.Mapper;

/**
 * @author wangjun
 * @since 2024/6/5 14:28
 */
@Mapper(componentModel = "spring")
public interface UserDtoConverter {
    UserDto toDto(UserDo userDo);

    UserDo toDo(UserDto userDto);
}
